
.none-pointer-events {
	uni-image img {
		// 阻止微信默认长按菜单
		pointer-events: none;
		-webkit-pointer-events: none;
		-ms-pointer-events: none;
		-moz-pointer-events: none;
	 }
}

.groupchat-nav-bar {
	height: 100rpx;
	padding: 0 20rpx;
	display: flex;
	flex-direction: row;
	align-items: center;
	background-color: white;
	border-bottom: 1px solid $im-border;

	.groupchat-nav-search {
		flex: 1;
	}

	.groupchat-nav-add {
		cursor: pointer;
	}
}

.goup-chatbox-page {
	$icon-color: rgba(0, 0, 0, 0.88);
	position: relative;
	background-color: #ecedf2;
	padding-top: 84rpx;

	.uni-navbar {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 5;
	}

	.nav-bar-title {
		flex: 1;
		justify-content: center;
		align-self: center;
		color: #fff;
	}

	.header {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 60rpx;
		padding: 5px;
		background-color: #fafafa;
		line-height: 50px;
		font-size: $im-font-size-large;
		box-shadow: $im-box-shadow-lighter;
		z-index: 1;

		.btn-side {
			position: absolute;
			line-height: 60rpx;
			cursor: pointer;

			&.right {
				right: 30rpx;
			}
		}
	}

	.video-meeting-wrap {
		position: relative;
		background-color: #fff;
		margin-top: -10rpx;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		&.is-big{
			height:89.4vh;
		}
		*{
			box-sizing: border-box;
		}

		.small-vm-wrap {
			display: flex;
			flex-direction: row;
			justify-content: center;
			background-color: #d3e4ff;
			color: #317fff;
			padding: 10rpx 0 16rpx;
		}
		.vm-pl-wrap{
			height:510rpx;
		}
		.big-vm-wrap {
			position: initial;
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			margin: -10rpx;
			padding: 24rpx 20rpx 200rpx;
			overflow-x: hidden;
			overflow-y: auto;
			height:calc(100% - 510rpx);
		}
		
		.vm-item-wrap {
			display: block;
			position: relative;
			width:33.33%;
			// aspect-ratio: 1;
			height: 310rpx;
			padding: 10rpx;
			.vm-switch-icon{
				.ve-icon-full{
					display: block;
				}
				.ve-icon-unfull{
					display: none;
				}
			}
			&.ing {
				.vm-item {
					border-color: #317fff;
				}
				.vm-status {
					background-color: #277EFF;
				}
			}
			&.big{
				width: 100%;
				height:500rpx;
				position: absolute;
				top:0;
				left:0;
				.vm-switch-icon{
					.ve-icon-full{
						display: none;
					}
					.ve-icon-unfull{
						display: block;
					}
				}
			}
		}
		
		.vm-item {
			position: relative;
			overflow: hidden;
			border-radius: 10rpx;
			border: 6rpx solid #eee;
			display: block;
			width:100%;
			// height:100%;
			&.add{
				background-color: #e2e2e2;
				border-color:#ddd;
			}
		}
		.vm-item-bottom{
			position: absolute;
			left:0;
			bottom:0;
			width:100%;
			height:54rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
		}
		.vm-item-user{
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			padding-right:10rpx;
		}
		.vm-switch-icon{
			margin-left:auto;
			flex-shrink: 0;
			width: 50rpx;
			height: 50rpx;
			border-radius:10rpx;
			background-color: rgba(0,0,0,0.25);
			z-index:5;
			display: flex;
			align-items: center;
			justify-content: center;
			.iconfont2{
				color:#fff;
			}
		}
		.meeting-div{
			background-color: #fff;
			display: block;
			position: relative;
			width:100%;
			height:calc(100% - 54rpx);
		}
		.meeting-content-div{
			display: block;
			position: relative;
			width: 100%;
			height:100%;
		}
		.add-btn{
			width: 100%;
			height: 100%;
			border-radius: 50%;
			color:#444;
			display: flex;
			flex-direction: row;
			justify-content: center;
			align-items: center;
		}
		.h5video{
			display: block;
			width: 100%;
			height:100%;
		}
		
		.vm-image {
			width: 100%;
			height: 200rpx;
		}
		
		.vm-user {
			position: absolute;
			left: 10rpx;
			bottom: 10rpx;
			padding: 4rpx 6rpx;
			border-radius: 999rpx;
			min-width: 120rpx;
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: center;
			background-color: rgba(0, 0, 0, 0.4);
			color: #fff;
		}
		
		.vm-status {
			width: 18rpx;
			height: 18rpx;
			background-color: rgba(255, 255, 255, 0.4);
			border-radius: 50%;
		}
		
		.vm-name {
			font-size: 26rpx;
			padding-left: 10rpx;
		}
	
		.video-meeting-tools{
			position: absolute;
			z-index:5;
			bottom:0;
			left:0;
			background-color: #fff;
			width:100%;
			border-top:1rpx solid #ddd;
			padding:10rpx 20rpx 15rpx;
			display:flex;
			flex-direction: row;
			align-items: center;
			justify-content: space-around;
			.vm-tool-item{
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				&.dft{
					color:#444;
				}
				&.close{
					color:#ff2c11;
				}
			}
			.vm-tool-item-text{
				font-size: 24rpx;
			}
		}
	}
	

	.chat-main-box {
		// #ifdef H5
		top: $im-nav-bar-height;
		// #endif
		// #ifndef H5
		top: calc($im-nav-bar-height + var(--status-bar-height));
		// #endif
		position: fixed;
		width: 100%;
		display: flex;
		flex-direction: column;
		z-index: 2;

		.chat-msg {
			flex: 1;
			padding: 0;
			overflow: hidden;
			position: relative;
			background-color: #ecedf2;
			margin-top: -5rpx;
			&.svm {
				padding-top: 80rpx;
				border-top-left-radius: 24rpx;
				border-top-right-radius: 24rpx;
			}

			.scroll-box {
				height: 100%;
			}
		}

		.meeting-tools-wrap {
			position: absolute;
			z-index: 6;
			top: 0;
			left: 0;
			width: 100%;
			padding: 10rpx 20rpx;
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: space-between;

			.group-name {
				flex:1;
				font-size: 32rpx;
			}

			.meeting-tools {
				display: flex;
				flex-direction: row;
				align-items: center;
			}

			.meeting-tool {
				padding: 0 10rpx;
			}
		}

		.chat-at-bar {
			display: flex;
			align-items: center;
			padding: 0 10rpx;

			.icon-at {
				font-size: $im-font-size-larger;
				color: $im-color-primary;
				font-weight: bold;
			}

			.chat-at-scroll-box {
				flex: 1;
				width: 80%;

				.chat-at-items {
					display: flex;
					align-items: center;
					height: 70rpx;

					.chat-at-item {
						padding: 0 3rpx;
					}
				}
			}

		}



		.send-bar {
			display: flex;
			flex-direction: row;
			align-items: center;
			padding: 10rpx;
			border-top: $im-border solid 1px;
			background-color: $im-bg;
			min-height: 80rpx;
			margin-bottom: 2rpx;

			.send-btn {
				border-radius: 50%;
				width: 60rpx;
				height: 60rpx;
				background-color: #277EFF;
				display: flex;
				flex-direction: row;
				align-items: center;
				justify-content: center;
			}

			.iconfont {
				font-size: 60rpx;
				margin: 0 10rpx;
				color: $icon-color;
			}

			.chat-record {
				flex: 1;
			}

			.send-text {
				flex: 1;
				overflow: auto;
				padding: 14rpx 20rpx;
				background-color: #fff;
				border-radius: 8rpx;
				font-size: $im-font-size;
				box-sizing: border-box;
				margin: 0 10rpx;
				position: relative;

				.send-text-area {
					width: 100%;
					height: 100%;
					min-height: 40rpx;
					max-height: 200rpx;
					font-size: 30rpx;
				}
				
				.quote-message {
					background: #eee;
					padding: 5rpx;
					display: flex;
					flex-direction: row;
					align-items: center;
					border-radius: 10rpx;

					.quote-text {
						flex: 1;
						white-space: nowrap;
						overflow: hidden;
						text-overflow: ellipsis;
						font-size: $im-font-size-smaller;
						color: $im-text-color-lighter;
					}

				}
			}

			.btn-send {
				margin: 5rpx;
			}
		}
	}

	.chat-tab-bar {
		position: fixed;
		bottom: 0;
		background-color: $im-bg;
		display: block;
		width: 100%;

		.chat-tools {
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			align-items: top;
			height: 310px;
			padding: 40rpx;
			box-sizing: border-box;

			.chat-tools-item {
				width: 25%;
				padding: 16rpx;
				box-sizing: border-box;
				display: flex;
				flex-direction: column;
				align-items: center;

				.tool-icon {
					padding: 26rpx;
					font-size: 54rpx;
					border-radius: 20%;
					background-color: white;
					color: $icon-color;

					&:active {
						background-color: $im-bg-active;
					}
				}

				.tool-name {
					height: 60rpx;
					line-height: 60rpx;
					font-size: 28rpx;
				}
			}
		}

		.chat-emotion {
			height: 310px;
			padding: 20rpx;
			box-sizing: border-box;

			.emotion-item-list {
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;
				align-content: center;

				.emotion-item {
					text-align: center;
					cursor: pointer;
					padding: 5px;
				}
			}
		}

	}
}

.vm-invite-modal{
	box-sizing: border-box;
	position: fixed;
	width: 90vw;
	max-width: 400px;
	height: 60px;
	background-color: white;
	border-radius: 8px;
	z-index: 9999;
	bottom: 20px;
	left: -100%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: left 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px;
	&.active {
		left: 5vw;
	}
	
	.vmi-modal-text {
		display: flex;
		flex-direction: column;
		overflow: hidden;
		h4{
			font-size: 0.95rem;
			color: #333;
			padding-bottom:4px;
		}
	}
	.vmi-text-info{
		font-size:0.8rem;
		color:#666;
		display: flex;
		flex-direction: row;
		align-items: center;
		span{
			flex-shrink: 0;
		}
		.vmi-text-invite{
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			max-width: 45%;
		}
	}
	
	.vmi-modal-actions {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 8px;
		flex-shrink: 0;
	}
	.vmi-btn{
		border-radius: 6px;
		padding: 8px 14px;
		font-size: 14px;
	}
	.vmi-btn-reject {
		background-color: #dcdfe1;
		color: #333;
	}
	
	.vmi-btn-accept {
		background-color: rgb(39, 126, 255);
		color: white;
	}
	
	
	.vmi-close-btn {
		margin-left: 4px;
		font-size: 1.2rem;
		color: #999;
		cursor: pointer;
	}
}